<cfcomponent output="false">
	
	<!--- --->
	
	<cffunction name="saveOptions" access="public" output="true" returntype="void">
		<cfargument name="key" required="true" />
		
		<cfset var local = {} />
		
		<cfset local.key = arguments.key />
		<cfset structDelete(arguments,"key") />
		<cfset structDelete(arguments,"$") />
		<cfset structDelete(arguments,"$session") />
		<cfset structDelete(arguments,"$gateway") />
		<cfset structDelete(arguments,"$view") />
		<cfset structDelete(arguments,"$service") />
		<cfset structDelete(arguments,"$controller") />
		<cfset structDelete(arguments,"fieldnames") />
		<cfset structDelete(arguments,"cfc") />
		<cfset structDelete(arguments,"method") />
		<cfset structDelete(arguments,"oldIDs") />
		
		<cfset $.run.it('optionService.saveOptions',{key=local.key,args=arguments}) />

		<cflocation url="#cgi.http_referer#" addToken="no" />

	</cffunction>
	
	<!--- --->
	
	<cffunction name="saveSecretaryOptions" access="public" output="true" returntype="void">
		<cfargument name="speech" required="false" default="0" />
		<cfargument name="sound" required="false" default="0" />
		
		<cfset var local = {} />
		
		<cfset saveOptions(argumentCollection=arguments) />

	</cffunction>
	
	
</cfcomponent>